<template>
  <div class="container">
      <video :src="data.url" controls></video>
  </div>
</template>

<script>
export default {
    name:"Mvdetail",
    data() {
        return {
            data:[]
        }
    },
      computed:{
       id(){
           return this.$route.query.id
       }
   },
   mounted() {
       this.axios.get(`mv/url?id=${this.id}`).then(res=>{
           this.data = res.data.data
       })
   }
}
</script>

<style lang="less" scoped>
    video{
        width:100%;
    }
    .container{
    z-index: 150;
    position: relative;
}

</style>